package cn.tedu.antconlonysever.contract.dao.persist.mapper;

import cn.tedu.antconlonysever.contract.pojo.entity.Loss;
import cn.tedu.antconlonysever.contract.pojo.vo.LossListVO;
import cn.tedu.antconlonysever.contract.pojo.vo.LossStandardVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface LossMapper extends BaseMapper<Loss> {
    int insertBatch(List<Loss> contracts);
    LossStandardVO getStandardById(Long id);
    List<LossListVO> list();

    LossStandardVO getLossStandardVOByon(String cusNo);

    int addNewLoss(Loss loss);
}
